package com.niit.dao;

import com.niit.pojo.Dish;
import com.niit.pojo.Reservation;

import java.util.List;
import java.util.Map;

public interface OrderMapper {
    List<Reservation> getAllReservation();

    List<Reservation> getReservationsById(String consumer_id);
    List<Reservation> getReservationsByWindowId(String window_id);

    void saveReservation(Reservation reservation);
    void updateConsumerReservationResult(Reservation reservation);
    Reservation getByReservationResult(String reservationResult);

    void DeleteReservatoinByBillId(String bill_id);
    void UpdateReservationStatus(Map<String, String> map);


}
